package com.yyk.yykywd.test

fun main() {
    val equipment = "fish net" to "catching fish"
    val (tool, use) = equipment
    println("$tool is used for $use")

    val numbers = Triple(6,9,42)
    val (n1, n2, n3) = numbers
    println("$n1 $n2 $n3")

    val list2 = listOf("a","bbb","cc")
    for (s in list2.listIterator()) {
        println("$s ")
    }
    for (s in list2) {
        println("$s ")
    }
}